projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
671ba7c
)
(gdb-set-hollow): Check for gud-last-last-frame.
author
Nick Roberts
<nickrob@snap.net.nz>
Tue, 1 Aug 2006 02:49:47 +0000
(
02:49
+0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Tue, 1 Aug 2006 02:49:47 +0000
(
02:49
+0000)
lisp/progmodes/gdb-ui.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gdb-ui.el
b/lisp/progmodes/gdb-ui.el
index ce50c81e92d732052018211f1546c009f645bcd4..595ec545eef2df35a5ac361f5b9ecf0a58156b07 100644
(file)
--- a/
lisp/progmodes/gdb-ui.el
+++ b/
lisp/progmodes/gdb-ui.el
@@
-2049,9
+2049,10
@@
static char *magick[] = {
(setq gdb-look-up-stack nil))
(defun gdb-set-hollow ()
- (with-current-buffer (gud-find-file (car gud-last-last-frame))
- (setq fringe-indicator-alist
- '((overlay-arrow . hollow-right-triangle)))))
+ (if gud-last-last-frame
+ (with-current-buffer (gud-find-file (car gud-last-last-frame))
+ (setq fringe-indicator-alist
+ '((overlay-arrow . hollow-right-triangle))))))
(defun gdb-stack-buffer-name ()
(with-current-buffer gud-comint-buffer